package core;

import infrastructure.exceptions.PrivilidgesException;
import infrastructure.exceptions.operations.OperationException;

import java.util.Iterator;

import server.IServerSession;
import server.querry.Condition;
import dal.IPet;
import dal.Pet_type;

public class NonLoggedInServerSession extends ServerSession implements IServerSession{

	protected NonLoggedInServerSession(long sessionId) {
		super(sessionId);	
	}

	@Override
	public Iterator<Pet_type> getAllPetTypes() throws PrivilidgesException {
		throw new PrivilidgesException();
	}

	@Override
	public Iterator<IPet> getAllPets() throws PrivilidgesException {
		throw new PrivilidgesException();
	}

	@Override
	public Iterator<IPet> getPets(Condition querry) throws PrivilidgesException {
		throw new PrivilidgesException();
	}

	@Override
	public void giveForAdoption(IPet petToDeliver) throws OperationException,
			PrivilidgesException {
		throw new PrivilidgesException();
		
	}

	@Override
	public void removePetFromSystem(Integer id) throws OperationException,
			PrivilidgesException {
		throw new PrivilidgesException();		
	}

	@Override
	public long getSessionId() {
		return -1;
	}

}
